package cn.tedu.boyou.acticle.service.impl;

import cn.tedu.boyou.acticle.domain.MallGoods;
import cn.tedu.boyou.acticle.mapper.MallGoodsMapper;
import cn.tedu.boyou.acticle.service.IMallGoodsService;
import cn.tedu.boyou.common.query.MallGoodsQuery;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class MallGoodsServiceImpl implements IMallGoodsService{
    @Autowired
    private MallGoodsMapper mallGoodsMapper;

    public void insert(MallGoods mallGoods) {

    }

    public List<MallGoods> selectAll() {
        return null;
    }


    public List<MallGoods> queryByGoodsByDate(MallGoodsQuery qo) {
        return mallGoodsMapper.selectByGoods(qo);
    }



    public List<MallGoods> queryByCid(MallGoodsQuery qo) {
        return mallGoodsMapper.selectByCid(qo);
    }
}

